function changeDateToChinese(date){
var lineTime = date;
                    var year = lineTime.substring(0, 4);
                    var month1 = lineTime.substring(5, 6);
                    if (month1 == 0) {
                        monthX = lineTime.substring(5, 7);
                        month = lineTime.substring(6, 7);
                    } else {
                        month = lineTime.substring(5, 7);
                    }
                    day1 = lineTime.substring(8, 9);
                    day2 = lineTime.substring(8, 10);
                    if (day1 == 0) {
                        day = lineTime.substring(9, 10);
                    } else {
                        day = day2;
                    }
                    var Time1 = year + " 年 " + month + " 月 " + day + " 日 " + "印发";

                    var year1 = year.replace(/0/g, "零");
                    var year2 = year1.replace(/1/g, "一");
                    var year3 = year2.replace(/2/g, "二");
                    var year4 = year3.replace(/3/g, "三");
                    var year5 = year4.replace(/4/g, "四");
                    var year6 = year5.replace(/5/g, "五");
                    var year7 = year6.replace(/6/g, "六");
                    var year8 = year7.replace(/7/g, "七");
                    var year9 = year8.replace(/8/g, "八");
                    var year10 = year9.replace(/9/g, "九");

                    if (month.length < 2) {
                        var month1 = month.replace(/1/g, "一");
                        var month2 = month1.replace(/2/g, "二");
                        var month3 = month2.replace(/3/g, "三");
                        var month4 = month3.replace(/4/g, "四");
                        var month5 = month4.replace(/5/g, "五");
                        var month6 = month5.replace(/6/g, "六");
                        var month7 = month6.replace(/7/g, "七");
                        var month8 = month7.replace(/8/g, "八");
                        month9 = month8.replace(/9/g, "九");
                    } else {
//                        alert(month)
                        if (month == 10) {
                            month9 = "十";
                        } else if (month == 11) {
                            month9 = "十一";
                        } else {
                            month9 = "十二";
                        }
                    }

                    if (day.length < 2) {
                        var day11 = day.replace(/1/g, "一");
                        var day22 = day11.replace(/2/g, "二");
                        var day33 = day22.replace(/3/g, "三");
                        var day4 = day33.replace(/4/g, "四");
                        var day5 = day4.replace(/5/g, "五");
                        var day6 = day5.replace(/6/g, "六");
                        var day7 = day6.replace(/7/g, "七");
                        var day8 = day7.replace(/8/g, "八");
                        dayf = day8.replace(/9/g, "九");
                    } else {
//                        alert(day)
                        if (day == 10) {
                            dayf = "十";
                        }
                        if (day == 11) {
                            dayf = "十一";
                        }
                        if (day == 12) {
                            dayf = "十二";
                        }
                        if (day == 13) {
                            dayf = "十三";
                        }
                        if (day == 14) {
                            dayf = "十四";
                        }
                        if (day == 15) {
                            dayf = "十五";
                        }
                        if (day == 16) {
                            dayf = "十六";
                        }
                        if (day == 17) {
                            dayf = "十七";
                        }
                        if (day == 18) {
                            dayf = "十八";
                        }
                        if (day == 19) {
                            dayf = "十九";
                        }
                        if (day == 20) {
                            dayf = "二十";
                        }
                        if (day == 21) {
                            dayf = "二十一";
                        }
                        if (day == 22) {
                            dayf = "二十二";
                        }
                        if (day == 23) {
                            dayf = "二十三";
                        }
                        if (day == 24) {
                            dayf = "二十四";
                        }
                        if (day == 25) {
                            dayf = "二十五";
                        }
                        if (day == 26) {
                            dayf = "二十六";
                        }
                        if (day == 27) {
                            dayf = "二十七";
                        }
                        if (day == 28) {
                            dayf = "二十八";
                        }
                        if (day == 29) {
                            dayf = "二十九";
                        }
                        if (day == 30) {
                            dayf = "三十";
                        }
                        if (day == 31) {
                            dayf = "三十一";
                        }
                    }

                    /*alert(year10 + "===")
                    alert(month9 + "===")
                    alert(dayf + "===")*/
                    var timeF = year10 + "年" + month9 + "月" + dayf + "日";
                    return timeF;
}

function getNowFormatDate() {
    var date = new Date();
    var seperator1 = "-";
    var seperator2 = ":";
    var month = date.getMonth() + 1;
    var strDate = date.getDate();
    if (month >= 1 && month <= 9) {
        month = "0" + month;
    }
    if (strDate >= 0 && strDate <= 9) {
        strDate = "0" + strDate;
    }
    var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate
            + " " + date.getHours() + seperator2 + date.getMinutes()
            + seperator2 + date.getSeconds();
    return currentdate;
}